﻿using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UAParser;
using Volo.Abp.Application.Services;

namespace AbpDemo.AuditLogs
{
    [ApiExplorerSettings(GroupName = "v1")]
    public class AuditLog : ApplicationService
    {
        [AllowAnonymous]
        public void Parse()
        {
            var parser = Parser.GetDefault();
            var info = parser.Parse("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.76");
            
        }
    }
}
